<?php
/*************************************************************************
Category module
----------------------------------------------------------------
Avasoft CMS Project
Company: Avasoft Co., Ltd                                  
Name: Tran Thi Kim Que
Last updated: 08/03/2011
**************************************************************************/
// Code chung toan he thong
include_once(ROOT_PATH."modules/framework.module.php");
//
include_once(ROOT_PATH."classes/dao/static.class.php");
$static = new StaticPage();

#chuyen muc tin tuc
include_once(ROOT_PATH."classes/dao/categories.class.php");
$categories = new Categories();
$categoriesItems = $categories->getObjects(1,"status =1 AND pid=0",array('position'=>'ASC'),'');
$template->assign('categoriesItems',$categoriesItems);
#end tin tuc noi bat
$templateFile = "sitemap.tpl.html";
$slug = $request->element('slug','');


?>